package com.example.s10shoppingthymeleaf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("goods")
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer typeId;
    private String image;
    private String introduce;
    private Double unitPrice;
    private Integer amount;
    private String memo;
}
